package com.hzhc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzhc.entity.CntrInfo;
import com.hzhc.entity.VehicleReservation;
import com.hzhc.entity.YwOrderCntr;
import com.hzhc.vo.VehicleReservationVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 车辆预约 Mapper 接口
 * </p>
 *
 * @author 功不唐捐
 * @since 2024-05-27
 */
public interface VehicleReservationMapper extends BaseMapper<VehicleReservation> {

    IPage<VehicleReservationVo> getWxList(Page<VehicleReservationVo> page,@Param("vo") VehicleReservationVo vo);

    IPage<VehicleReservationVo> getVehicleReservationList(Page<VehicleReservationVo> page, VehicleReservationVo vo);

    List<VehicleReservation> getVeficleList(@Param("vo") VehicleReservationVo vo);

    IPage<VehicleReservationVo> getYzsVehicleReservationList(Page<VehicleReservationVo> page, VehicleReservationVo vo);

    IPage<VehicleReservationVo> getDriverList(Page<VehicleReservationVo> page,@Param("vo") VehicleReservationVo vo);

    IPage<VehicleReservationVo> getVehicleList(Page<VehicleReservationVo> page,@Param("vo") VehicleReservationVo vo);

    VehicleReservationVo selectMsgByCntr(@Param("cntrNo")String cntrNo);

    List<String> selectYyCntrList();

    List<String> getCntrInfoAll2();

    List<VehicleReservation> selectYuyueinfos();

    void deleteIds(@Param("list") List<Long> collect);
}
